<?php /* Smarty version Smarty-3.1.18, created on 2017-02-20 15:38:45
         compiled from "Finance/views/mshop/index.html" */ ?>
<?php /*%%SmartyHeaderCode:117587883858aa9d05afd592-50178338%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'd708618d8d4dee09a5b3f504049f473b19ed32e2' => 
    array (
      0 => 'Finance/views/mshop/index.html',
      1 => 1487574483,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '117587883858aa9d05afd592-50178338',
  'function' => 
  array (
  ),
  'variables' => 
  array (
    'style_dir' => 0,
    'type_name' => 0,
    'list' => 0,
    'val' => 0,
    'showPage' => 0,
  ),
  'has_nocache_code' => false,
  'version' => 'Smarty-3.1.18',
  'unifunc' => 'content_58aa9d05b3a2e3_01250084',
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_58aa9d05b3a2e3_01250084')) {function content_58aa9d05b3a2e3_01250084($_smarty_tpl) {?><?php echo $_smarty_tpl->getSubTemplate ("public/header.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
 		
		<!--main部分-->
		<div class="x-main-upper w1180-con mt20">
			<!---左边--logo/tab-->
			<?php echo $_smarty_tpl->getSubTemplate ("mshop/left_nav.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
 	
			<div class="xmu-product">
				<div class="mb20" style="height: 193px; background: url(<?php echo $_smarty_tpl->tpl_vars['style_dir']->value;?>
/img/introduce/2.jpg) no-repeat center 0;"></div>
				<div class="xmup-all"><b class="icon-all xmup-bg"></b><span><?php echo $_smarty_tpl->tpl_vars['type_name']->value;?>
</span></div>
				<!--清除浮动-->
				<div style="clear: both;"></div>
				<div id="itemContainer">
					<ul>
                                            <?php  $_smarty_tpl->tpl_vars['val'] = new Smarty_Variable; $_smarty_tpl->tpl_vars['val']->_loop = false;
 $_smarty_tpl->tpl_vars['k'] = new Smarty_Variable;
 $_from = $_smarty_tpl->tpl_vars['list']->value; if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
foreach ($_from as $_smarty_tpl->tpl_vars['val']->key => $_smarty_tpl->tpl_vars['val']->value) {
$_smarty_tpl->tpl_vars['val']->_loop = true;
 $_smarty_tpl->tpl_vars['k']->value = $_smarty_tpl->tpl_vars['val']->key;
?>
						<li>
							<div class="goods-img">
								<div class="goods-img-bj">
                                                                    <a href="<?php echo $_smarty_tpl->tpl_vars['val']->value['url'];?>
">立即兑换</a>
								</div>
                                                            <img src="<?php echo $_smarty_tpl->tpl_vars['val']->value['thumb'];?>
"/>
							</div>
							<div class="goods-title">
								<span class="liuliu"><a href="<?php echo $_smarty_tpl->tpl_vars['val']->value['url'];?>
"><?php echo $_smarty_tpl->tpl_vars['val']->value['title'];?>
</a><p><?php echo $_smarty_tpl->tpl_vars['val']->value['amount'];?>
<b class="icon icon-tan66"></b></p></span>
								<label></label>
							</div>
						</li>
                                            <?php } ?>
					</ul>
					<!-- 页码navigation holder -->
					<div id="mshop-holder" class="holder page-bg"><?php echo $_smarty_tpl->tpl_vars['showPage']->value;?>
</div>
				</div>
				<div style="clear: both;"></div>
			</div>			
		</div>
		<div style="clear: both;"></div>
                <script type="text/javascript">
                    var text = $(".xmu-product ul li .goods-title span.liuliu a");
                    if( typeof(text) != "undefined"){
                            for(i=0; i< text.length; i++){
                                    var str =text[i].innerHTML;
                                    textLeng = 18;
                                if(str.length > textLeng ){
                                      text[i].innerHTML = str.substring(0,textLeng )+"...";
                                }   			
                            }
                    }
                </script>
                
		<!--footer-->
<?php echo $_smarty_tpl->getSubTemplate ("public/footer.html", $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, 0, null, array(), 0);?>
 	<?php }} ?>
